package lt.f2g.domain.security;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import lt.f2g.domain.BaseEntity;
import lt.f2g.domain.SystemPrivilege;

/**
 * @author Linas Jakaitis
 */
@Entity
public class UserPrivilege extends BaseEntity {
    
    @Enumerated(value=EnumType.STRING)
    private SystemPrivilege name;

    public SystemPrivilege getName() {
        return name;
    }

    public void setName(SystemPrivilege name) {
        this.name = name;
    }
    
}